package hw_8_3.thread_demo2;

public class MyRunnable implements Runnable{

    @Override
    public void run() {
        Thread thread = Thread.currentThread();
        for (int i = 1; i <= 50; i++) {
            System.out.println(thread.getName() + "打印的第" + i + "个：" + "new");
        }
    }
}
